/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.ingsoc2;

import java.sql.SQLException;
import java.util.Collection;

/**
 * GeneroDAO
 *
 * @author sfreiman
 */
public interface GeneroDAO {
/**
 * 
 * @param pp
 * @return
 * @throws SQLException 
 */

    public boolean crear(Genero pp) throws SQLException;
/** 
 * 
 * @param pp
 * @return
 * @throws SQLException 
 */
    public boolean borrar(Genero pp) throws SQLException;
/**
 * 
 * @param pp
 * @return
 * @throws SQLException 
 */
    public boolean guardar(Genero pp) throws SQLException;
/**
 * 
 * @return
 * @throws SQLException 
 */
    public Collection<Genero> listar() throws SQLException;
}
